package com.sam.jvm;

public class TestLoadingInit {
	public static void main(String args[]) {
		System.out.println(SubClass.value);
	}

}

class SuperClass {

	static {

		System.out.println("super init");
	}

	public static int value = 123;

}

class SubClass extends SuperClass {

	static {
		System.out.println("subClass init");
	}

}
